package com.wsx.rpc.http;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ImportResource;

/**
 * @author wangshuaixin
 * @Title: com.wsx.rpc.http.HttpApplication
 * @Description: TODO
 * @date 2018/10/30
 */
@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class}
)
@EnableFeignClients
///@EnableHystrix
@ImportResource({"classpath:api-dubbo.xml"})
public class HttpApplication {


    public static void main(String[] args) {
        SpringApplication.run(HttpApplication.class, args);
    }
}
